package ht.dao;

import ht.domain.Gldw;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by charmyyy on 2017/10/19.
 */
public interface GldwDao {
    //流域名称表的crud
    public List<Gldw> getAllGldw();

    public Gldw getGldw(@Param("admagcd") String admagcd);

    public int getGldwCount();

    public int getGldwCountByNm(@Param("nm") String nm);

    public List<Gldw> getPageGldw(int start, int limit);

    public List<Gldw> getPageGldwByNm(int start, int limit, String nm);

    public int addGldw(Gldw gldw);

    public int upptGldw(Gldw gldw);

    public int deleGldw(@Param("admagcd") String admagcd);

    public String getGldwName(String value);
}
